#version 330 core
out vec4 FragColor;

in vec2 TexCoord;

// texture samplers
uniform sampler2D texture1;
uniform sampler2D texture2;

uniform float ratio;

void main()
{
        // linearly interpolate between both textures (80% container, 20% awesomeface)
        FragColor = mix(texture2D(texture1, TexCoord), texture2D(texture2, TexCoord), ratio);
        //FragColor = texture2D(texture1, TexCoord);
}
